

import java.util.Random;

/**
 * @author lenovo
 * @date 2022/5/14
 */
public class a {
    private static  int a = 1;
    public static void main(String[] args) {

//        for (int i = 0; i <= 100; i++) {
//
//            int o = aa(i);
//
//
//        }
        int i = 1;
        int c = 1;
        while (i < 62) {
            i = aa(i);
            c++;
        }
        System.out.println(c*100);
    }
    private static int aa(int i){
        Random r =new Random();
        int b = 100;
        int c = 10;
        if (i<=50) {
             c = (int) (Math.pow(0.8, (i / 5)) * b);
        }
//        System.out.println((i / 5)+"====="+c);
        if (r.nextInt(100)<c){
            return i+1;
        }
        return i;
    }
}
 